home *** CD-ROM | disk | FTP | other *** search
- RTC(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- __rrttcc, RRTTCC, IIRRTTCC, IIRRTTCC__RRAATTEE - Returns clock register contents
-
- SSYYNNOOPPSSIISS
- C/C++:
-
- ##iinncclluuddee <<iinnttrriinnssiiccss..hh>>
- lloonngg lloonngg __rrttcc ((vvooiidd));;
-
- CF90 and MIPSpro 7 Fortran 90:
-
- RRTTCC (())
- IIRRTTCC (())
-
- MIPSpro Fortran 77:
-
- IIRRTTCC__RRAATTEE(())
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, IRIX systems
-
- Cray C/C++, CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
-
- SSTTAANNDDAARRDDSS
- C/C++ extension
-
- Fortran extension
-
- DDEESSCCRRIIPPTTIIOONN
- The __rrttcc, RRTTCC, and IIRRTTCC intrinsic functions return a real-time clock
- value. The value is expressed as the number of _c_l_o_c_k _t_i_c_k_s. The
- IIRRTTCC__RRAATTEE function returns the clock rate of the IIRRTTCC and RRTTCC
- functions.
-
- NNOOTTEESS
- CC//CC++++
- Because __rrttcc is an intrinsic function, no externally visible library
- function is available for it. The compiler generates inline code to
- produce the result.
-
- FFoorrttrraann
- The names of these intrinsics cannot be passed as arguments.
-
- When RRTTCC is called as a subroutine, it accepts the following argument:
-
- _t_i_m_e The real-time clock value is returned as a RREEAALL((KKIINNDD==88)) value.
-
- When IIRRTTCC is called as a subroutine, it accepts the following
- argument:
-
- _i_t_i_m_e The real-time clock value is returned as an IINNTTEEGGEERR((KKIINNDD==88))
- value.
-
- The RRTTCC intrinsic function is outmoded. For information on outmoded
- features and their preferred standard alternatives, see the _F_o_r_t_r_a_n
- _L_a_n_g_u_a_g_e _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, _V_o_l_u_m_e _3.
-
- The use of RRTTCC is not recommended on UNICOS or IRIX systems. See the
- standard SSYYSSTTEEMM__CCLLOOCCKK(3I) intrinsic subroutine for the preferred
- alternative.
-
- FFOORRTTRRAANN RREETTUURRNN VVAALLUUEESS
- RRTTCC returns a 64-bit real value. IIRRTTCC returns a 64-bit integer value.
-
- When using CF90 on a UNICOS system, RRTTCC returns the low-order 46 bits
- of the clock register as a RREEAALL((KKIINNDD==88)) value. IIRRTTCC returns the
- current content of the clock register as an IINNTTEEGGEERR((KKIINNDD==88)) value.
- The result of IIRRTTCC may exceed 2**(46)-1 and must not be used in
- multiplication, division, or conversion to real unless the value is
- typed as a 64-bit integer in the CF90 program or --OO nnooffaassttiinntt is
- specified on the ff9900(1) command line. Addition and subtraction are
- unaffected.
-
- On IRIX systems, RRTTCC returns the low-order 52 bits of the system clock
- expressed as a RREEAALL((KKIINNDD==88)) value. IIRRTTCC returns the system clock as
- an IINNTTEEGGEERR((KKIINNDD==88)) value. IIRRTTCC__RRAATTEE returns the number of IIRRTTCC and
- RRTTCC clock ticks per second in an IINNTTEEGGEERR((KKIINNDD==88)) value. IIRRTTCC is the
- fastest nonwrapping clock.
-
- SSEEEE AALLSSOO
- A complete list of C/C++ intrinsic functions available on UNICOS and
- UNICOS/mk systems is in the _C_r_a_y _C/_C++ _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l.
-
- ff9900(1), SSEECCOONNDD(3F), SSYYSSCCLLOOCCKK(3F), SSYYSSTTEEMM__CCLLOOCCKK(3I), TTSSEECCNNDD(3F)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-